<template>
  <div class="card">
    <CardVue :card-list="list" v-bind="$attrs"></CardVue>
  </div>
</template>

<script setup lang="ts">
import { reactive } from 'vue'
import CardVue from './CardVue.vue'
const props = defineProps({
  formData: {
    type: Object,
    default: {},
  },
})
const info = reactive({
  id: props.formData.id ? props.formData.id : 0,
  webUrl: '',
  webName: '',
  icon: '',
})

const list = ['在新标签页打开', '编辑', '删除']
</script>

<style scoped>
.card {
  position: absolute;
}
</style>
